package com.light.boot_demo.event.service;

import org.springframework.context.ApplicationEvent;

public class SimpleServiceEvent extends ApplicationEvent {

    private String msg;

    public SimpleServiceEvent(Object source, String msg) {
        super(source);
        this.msg = msg;
    }

    public String getMsg() {
        return msg;
    }
}
